package com.service;

import com.Result.CommentResult;
import com.baomidou.mybatisplus.extension.service.IService;
import com.entity.TwitterComment;

import java.util.List;

public interface TwitterCommentService extends IService<TwitterComment> {
    CommentResult getByTwitterId(Integer twitterId);

    boolean commentForTwitter(Integer twitterId, Integer userId, String comment);

    boolean thumbsUpForTwitter(Integer twitterId, Integer userId);

    boolean thumbsDownForTwitter(Integer twitterId, Integer userId);
}
